{template 'common/header'}
<ul class="nav nav-tabs">
    <li><a href="{php echo $this->createWebUrl('addzhiwu');}">添加职务</a></li>
    <li class="active"><a href="{php echo $this->createWebUrl('zhiwu');}">职务管理</a></li>
</ul>
<div class="panel panel-default">

    <div class="panel-body">
        <table st-table="items" class="table table-striped table-condensed" style="display:auto;">
            <thead>
            <tr>

                <th>ID</th>
                <th>名称</th>
                <th>操作</th>


            </tr>
            </thead>
            <tbody>
            {loop $list $list}
            <tr>
                <td>{$list['id']}</td>
                <td >{$list['name']}</td>
                <td>
                    <a class="btn btn-default btn-sm" onclick="return confirm('确认删除吗？');return false;" href="{php echo $this->createWebUrl('addzhiwu', array('id' => $list['id'], 'op' => 'delete'))}" title="删除"><i class="fa fa-times"></i></a>
                </td>
            </tr>
            {/loop}
            </tbody>
        </table>
        {php echo $pager}
    </div>

</div>
{template 'common/footer'}